package org.example.c2;

import lombok.extern.slf4j.Slf4j;

import java.time.LocalDate;
import java.time.format.DateTimeFormatter;

/**
 * @author liu-rui
 * @date 2020/6/8 上午11:00
 * @description 时间格式转换
 * @since
 */
@Slf4j
public class Demo32 {
    public static void main(String[] args) {
        for (int i = 0; i < 100; i++) {
            new Thread(() -> {
                log.info("{}" , LocalDate.parse("2020-11-10", DateTimeFormatter.ISO_LOCAL_DATE));
            }).start();
        }
    }
}
